<%@ page contentType="text/html; charset=UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglibs.jsp"%>

<s:form action="signup">
	<fieldset>
		<legend>
			注册
		</legend>
		<div>
			<label for="email">
				Email:
			</label>
			<s:textfield id="email" name="email" />
		</div>
		<div>
			<label for="name">
				昵称:
			</label>
			<s:textfield id="name" name="name" />
		</div>
		<div>
			<label for="password">
				密码:
			</label>
			<s:password id="password" name="password" />
		</div>
		<div>
			<s:submit value="Submit" />
		</div>
<script type="text/javascript">
	$('#email').watermark('example@example.com');
	$('#name').watermark('这个名字将公开给其他用户');
	$('#password').watermark('必填');
</script>
	</fieldset>
</s:form>